package com.ice.body.business.dao;

import com.ice.body.business.model.RecordLab;
import com.ice.base.dao.BaseDao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * Created with GuoYanBin.
 * Description:试剂追溯记录 mapper
 * Date: 2021-10-25
 * Time: 10:32
 */
@Mapper
public interface RecordLabMapper extends BaseDao<RecordLab>{

    @Select("select * from t_record_lab where epcCode = #{epcCode} order by createTime desc ")
    List<RecordLab> getListByEpcCode(String epcCode);
}